project (P1)

include_directories(../libraries)
SET (COMMON ../libraries/figura.h ../libraries/figura.cpp ../libraries/punto.h ../libraries/punto.cpp ../libraries/operacion.h ../libraries/operacion.cpp ../libraries/cuadrado.h ../libraries/cuadrado.cpp ../libraries/circulo.h ../libraries/circulo.cpp)

add_executable(figuraTest ${COMMON} figuratest.cpp)
add_executable(operacionTest ${COMMON} operatest.cpp)
add_executable(puntoTest puntotest.cpp)

ENABLE_TESTING()

ADD_TEST(figuraTest figuraTest)
ADD_TEST(operacionTest operacionTest)
ADD_TEST(puntoTest puntoTest)
